import {https} from '@/utils/http.ts'
import {articlesData} from './index.ts'
import {makeRequest} from '../makeRequest.tsx'


export const getChannelHttp=()=>{
    return https.get('/channels')
}

export const getListHttp=(data:articlesData|any)=>{
    return https.get('/articles',{params:data})
    // return makeRequest('/articles',data,'POST')
}